///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Aug 22 2007)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#ifdef WX_PRECOMP

#include "wx/wxprec.h"

#ifdef __BORLANDC__
#pragma hdrstop
#endif //__BORLANDC__

#else
#include <wx/wx.h>
#endif //WX_PRECOMP

#include "CalibParamTemplate.h"

///////////////////////////////////////////////////////////////////////////

CalibParamTemplate::CalibParamTemplate( wxWindow* parent, int id, wxString title, wxPoint pos, wxSize size, int style ) : wxDialog( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	
	wxBoxSizer* bSizer1;
	bSizer1 = new wxBoxSizer( wxVERTICAL );
	
	m_panel1 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	bSizer1->Add( m_panel1, 1, wxEXPAND | wxALL, 5 );
	
	wxBoxSizer* bSizer2;
	bSizer2 = new wxBoxSizer( wxHORIZONTAL );
	
	staticTextNW = new wxStaticText( this, wxID_ANY, wxT("Number of Squares in width"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextNW->Wrap( -1 );
	bSizer2->Add( staticTextNW, 1, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
	
	textCtrlNW = new wxTextCtrl( this, wxID_ANY, wxT("8"), wxDefaultPosition, wxDefaultSize, wxTE_RIGHT );
	bSizer2->Add( textCtrlNW, 1, wxALL, 5 );
	
	bSizer1->Add( bSizer2, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizer21;
	bSizer21 = new wxBoxSizer( wxHORIZONTAL );
	
	staticTextNH = new wxStaticText( this, wxID_ANY, wxT("Number of Squares in Height"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextNH->Wrap( -1 );
	bSizer21->Add( staticTextNH, 1, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
	
	textCtrlNH = new wxTextCtrl( this, wxID_ANY, wxT("8"), wxDefaultPosition, wxDefaultSize, wxTE_RIGHT );
	bSizer21->Add( textCtrlNH, 1, wxALL, 5 );
	
	bSizer1->Add( bSizer21, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizer22;
	bSizer22 = new wxBoxSizer( wxHORIZONTAL );
	
	staticTextSSS = new wxStaticText( this, wxID_ANY, wxT("Size of of Squares Side (mm)"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextSSS->Wrap( -1 );
	bSizer22->Add( staticTextSSS, 1, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
	
	textCtrlSSS = new wxTextCtrl( this, wxID_ANY, wxT("50"), wxDefaultPosition, wxDefaultSize, wxTE_RIGHT );
	bSizer22->Add( textCtrlSSS, 1, wxALIGN_LEFT|wxALL, 5 );
	
	bSizer1->Add( bSizer22, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizer23;
	bSizer23 = new wxBoxSizer( wxHORIZONTAL );
	
	staticTextDir = new wxStaticText( this, wxID_ANY, wxT("Directory of Images"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextDir->Wrap( -1 );
	bSizer23->Add( staticTextDir, 1, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
	
	textCtrlDir = new wxTextCtrl( this, wxID_ANY, wxT("/"), wxDefaultPosition, wxDefaultSize, wxTE_RIGHT );
	bSizer23->Add( textCtrlDir, 1, wxALL, 5 );
	
	bSizer1->Add( bSizer23, 1, wxEXPAND, 5 );
	
	m_panel2 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	bSizer1->Add( m_panel2, 1, wxEXPAND | wxALL, 5 );
	
	wxBoxSizer* bSizer221;
	bSizer221 = new wxBoxSizer( wxHORIZONTAL );
	
	buttonCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer221->Add( buttonCancel, 1, wxALL, 5 );
	
	buttonOk = new wxButton( this, wxID_ANY, wxT("Ok"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer221->Add( buttonOk, 1, wxALL|wxLEFT, 5 );
	
	bSizer1->Add( bSizer221, 1, wxEXPAND, 5 );
	
	this->SetSizer( bSizer1 );
	this->Layout();
	
	// Connect Events
	buttonCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CalibParamTemplate::OnCancelClick ), NULL, this );
	buttonOk->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CalibParamTemplate::onOkClick ), NULL, this );
}
